package com.linkin.homepage.ui.home.exam;

import com.linkin.homepage.base.BasePresenter;
import com.linkin.homepage.base.BaseView;
import com.linkin.homepage.bean.ExamDataBean;

/**
 * Created by wonder on 2018/1/20.
 */

public interface ExamContract {

    String CHANNEL_GRADUATE_SCHOOL_EXAM = "3";
    String CHANNEL_PRACTICAL_ENGLISH = "4";
    String CHANNEL_CET4_CET6 = "1_2";


    interface Presenter extends BasePresenter {
        void subscribe(boolean isGesture);

        void getExamInfo(String examId);

    }

    interface View extends BaseView<Presenter> {

        default void showNewsHome(ExamDataBean newsHomeInfo) {
        }

        void showError(boolean refresh);
    }
}
